import { post, get, patch, put, deletefn, postByFormData } from '../common/http'


const jobAdd = p => post("/job/add",p);
const jobUpdate = p => post("/job/update",p);
const jobPage = p =>get("/job/page",p);
const jobDelete = p => postByFormData("/job/delete",p);
const jobDetail = p => get("/job/detail",p);
const jobRun = p =>postByFormData("/job/run",p)
export default {
  jobAdd,
  jobUpdate,
  jobPage,
  jobDelete,
  jobDetail,
  jobRun,
}
